<template>
  <div class="block">
    <img :src="item.img" alt="">
    <div class="per">{{ item.per }}</div>
    <div class="bottom">
      <div class="title">{{ item.title }}</div>
      <div class="episode">第{{ item.episode }}集</div>
    </div>

  </div>
</template>

<script>
export default {
  name: "BlockHistory",
  props: {
    item: Object
  },
  data() {
    return {
      qualities: ['首播', '独播'],
      color: [{color: '#FAB42EFF'}, {color: '#fff'}]
    }
  }
}
</script>

<style scoped lang="scss">
.block {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-top: 15px;

  img {
    width: 170px;
    height: auto;
  }


  .exegesis {
    position: absolute;
    margin-top: 107px;
    font-size: 8px;
    margin-left: 6px;
    font-family: "SourceHanSansCN";
    color: rgb(255, 255, 255);
    line-height: 2.737;


  }

  .bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 3px;
    .episode {
      font-size: 12px;
      font-family: "SourceHanSansCN";
      color: rgb(88, 88, 88);
      height: 100%;
    }
    .title {
      font-family: "SourceHanSansCN";
      color: rgb(49, 49, 49);
    }
  }

  .per {
    position: relative;
    margin-top: -20px;
    margin-left: 140px;
    font-family: "SourceHanSansCN";
    color: rgb(255, 255, 255);
    font-size: 10px;
  }

  .quality {
    position: absolute;
    z-index: 100;
    font-family: "SourceHanSansCN";
    color: rgb(250, 180, 46);
    font-size: 12px;
    margin-left: 7px;
  }

  .description {
    font-size: 10px;
    font-family: "SourceHanSansCN";
    color: rgb(93, 93, 93);
    line-height: 2.053;
    margin-left: 3px;
    margin-top: -3px;
  }
}
</style>
